#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
using namespace std;
int main()
{
    int n;
    cin >> n;
    cin.get();
    char c;
    cin >> c;
    for (int i = 0; i < n / 2; i++)
    {
        for (int j = 0; j < n; j++)
        {
            cout << c;
        }
        cout << endl;
    }
    return 0;
}